<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="创建周期性备份">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="zh-cn_topic_0000001792571208.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
<meta name="DC.Publisher" content="20240320">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001792411448">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>创建周期性备份</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="ZH-CN_TOPIC_0000001792411448"></a><a name="ZH-CN_TOPIC_0000001792411448"></a>

<h1 class="topictitle1">创建周期性备份</h1>
<div><p>将需要保护的资源关联到指定SLA策略，系统将对这些资源按照SLA策略进行保护。</p>
<div class="section" id="ZH-CN_TOPIC_0000001792411448__section1587901714120"><h4 class="sectiontitle">前提条件</h4><ul id="ZH-CN_TOPIC_0000001792411448__ul112438191705"><li id="ZH-CN_TOPIC_0000001792411448__li1547552712383">TDSQL数据库安装目录为<span class="filepath" id="ZH-CN_TOPIC_0000001792411448__filepath418515423910">“/data/tdsql_run”</span>。</li><li id="ZH-CN_TOPIC_0000001792411448__li6243201918012"><span id="ZH-CN_TOPIC_0000001792411448__ph675312611446">集群已开启NTP服务且时钟源配置相同。</span></li><li id="ZH-CN_TOPIC_0000001792411448__li1059613206013">已在赤兔管理平台“实例管理”中选择实例，进入“备份&amp;恢复 &gt; 备份设置”界面，将待备份实例的<span class="parmname" id="ZH-CN_TOPIC_0000001792411448__parmname167514618715">“binlog和冷备的保存天数”</span>设置为最大值。</li><li id="ZH-CN_TOPIC_0000001792411448__li12561256173916">由于数据库厂商不支持备份容灾模式为1主0备的分布式实例，因此备份前请确保待备份的TDSQL分布式实例已选取冷备节点。配置详情可以在赤兔管理平台“实例管理”中选择实例，进入“SET管理”，单击set名称查看当前冷备节点。</li></ul>
</div>
<div class="section" id="ZH-CN_TOPIC_0000001792411448__section198790095810"><h4 class="sectiontitle">注意事项</h4><ul id="ZH-CN_TOPIC_0000001792411448__ul87861553144913"><li id="ZH-CN_TOPIC_0000001792411448__li13786195334917">TDSQL分布式实例备份过程中不支持执行DDL操作，包括：CREATE、DROP、ALTER、TRUNCATE。</li><li id="ZH-CN_TOPIC_0000001792411448__li156658154912">如果备份TDSQL分布式实例，请勿挂载<span class="filepath" id="ZH-CN_TOPIC_0000001792411448__filepath1494223115546">“/tdsqlbackup”</span>目录。</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>选择<span class="uicontrol" id="ZH-CN_TOPIC_0000001792411448__zh-cn_topic_0000001839142377_uicontrol123821426193719">“<span id="ZH-CN_TOPIC_0000001792411448__zh-cn_topic_0000001839142377_text3382726113718">保护</span> &gt; 数据库 &gt; TDSQL”</span>。</span></li><li><span>在<span class="wintitle">“<span>非分布式实例</span>”</span>或<span class="wintitle">“<span>分布式实例</span>”</span>页签，选择需要保护的实例，单击<span class="uicontrol">“<span>保护</span>”</span>。</span><p><p>您也可以勾选多个实例进行批量保护。</p>
</p></li><li><span>选择SLA。</span><p><p>您也可以单击<span class="uicontrol">“<span>创建</span>”</span>，创建新的SLA。</p>
<div class="note"><img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span><div class="notebody"><p>TDSQL分布式实例不支持<span>永久增量（合成全量）备份</span>，无法选择保护策略包含“<span>永久增量（合成全量）备份</span>”的SLA进行保护。</p>
</div></div>
</p></li><li><span>对于1.6.0及后续版本，如果保护的实例是非分布式实例，请配置高级参数。</span><p><p>如果日志备份完成后需要删除生产环境的归档日志，请打开“备份完成后删除归档日志”开关。</p>
</p></li><li><span>单击<span class="uicontrol" id="ZH-CN_TOPIC_0000001792411448__zh-cn_topic_0000001792503842_uicontrol471113581111">“确定”</span>。</span><p><p id="ZH-CN_TOPIC_0000001792411448__zh-cn_topic_0000001792503842_p25041111535">如果当前系统时间已晚于该SLA首次备份的开始时间，则关联备份SLA后可以选择在当前立即执行备份或者根据SLA中设置的备份策略等待下次调度。</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="zh-cn_topic_0000001792571208.html">步骤7：执行备份</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>